Skip to content

Update reset-launchpad.sh for macOS 15 #993

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zdawz
Copy link
Contributor

@zdawz zdawz commented Jun 13, 2025

Description

This change makes it so that the Reset Launchpad command works on macOS 15.

See https://www.reddit.com/r/mac/comments/1hfzakq/unable_to_reset_launchpad_using_terminal/

Type of change

  • New script command
  • Bug fix
  • Improvement of an existing script
  • Documentation update
  • Toolkit change
  • Other (Specify)

Screenshot

Dependencies / Requirements

Checklist

Fix for macOS 15
@grzegorzkrukowski
Copy link
Contributor

grzegorzkrukowski commented Jun 18, 2025

Hey - thanks for the update.

I am personally running on macOS 15 now, but do you know if the new approach will be backwards compatible?

If we are not sure - it would be safer to check for the macOS version and support both commands depending on the macOS version:

Something like:

macos_major_version=$(sw_vers -productVersion | cut -d '.' -f 1)

if [ "$macos_major_version" -lt 15 ]; then
  # macOS below 15
else
  # macOS 15 or above
fi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants